//
//  NormalMacros.h
//  XM
//
//  Created by mingyue on 2017/12/18.
//  Copyright © 2017年 mingyue. All rights reserved.
//

#ifndef NormalMacros_h
#define NormalMacros_h

#ifdef DEBUG
#define DLog(format, ...) printf("class: <%p %s:(%d) > method: %s \n%s\n", self, [[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, __PRETTY_FUNCTION__, [[NSString stringWithFormat:(format), ##__VA_ARGS__] UTF8String] )
#else
#define DLog(format, ...)

#endif





#define SCREEN_WIDTH ([[UIScreen mainScreen] bounds].size.width)
#define SCREEN_HEIGHT ([[UIScreen mainScreen] bounds].size.height)

#define BackgroundColor RGB(33, 192, 174)
#define kRGBAColor(r,g,b,a) [UIColor colorWithRed:r/255.0f green:g/255.0f blue:b/255.0f alpha:a]
#define kRGBColor(r,g,b) kRGBAColor(r,g,b,1.0f)
#define kSeperatorColor kRGBColor(234,237,240)

//导航条颜色

#define TabBarTintColor            [UIColor colorWithHex:@"#001F41"]

#define TextColorGoldTH            [UIColor colorWithHex:@"#cda269"]//金色
#define TextColorGoldGrayTH        [UIColor colorWithRed:205/255.0f green:162/255.0f blue:105/255.0f alpha:0.7f]
#define TextColorTH                [UIColor colorWithHex:@"#303650"]//黑色
#define TextColorGrayTH            [UIColor colorWithRed:48/255.0f green:54/255.0f blue:80/255.0f alpha:0.6f]
#endif /* NormalMacros_h */
